package cn.snailhd.server.account.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.snailhd.core.base.constant.MessageEnums;
import cn.snailhd.core.base.dao.MyBatisDao;
import cn.snailhd.core.base.domain.BaseResultDTO;

@Controller
@RequestMapping("/accountBook")
public class AccountBookController {

	@Resource
	MyBatisDao dao;
	
	@RequestMapping("/query")
	@ResponseBody
	public String queryAccountBook(@RequestBody String text){
		BaseResultDTO re = new BaseResultDTO();
		
		re.setErrorCode(MessageEnums.REQUEST_PARAM_ERROR);
		
		return re.toJSON();
	}
	
	
	
}
